package com.hhq.sso.system.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hhq.sso.system.entity.Region;

/**
 * <p>
 * Description: Mapper 接口
 * </p>
 *
 * @author : xiaodong.yang
 * @date : 2024/6/14 18:24
 */
public interface RegionMapper extends BaseMapper<Region> {

    /**
     * 懒加载列表
     *
     * @param parentCode
     * @param param
     * @return
     */
    List<Region> lazyList(String parentCode, Map<String, Object> param);

    /**
     * 懒加载列表
     *
     * @param parentCode
     * @param param
     * @return
     */
    List<Region> lazyTree(String parentCode, Map<String, Object> param);

}
